package com.jsnkj.basic.bean

import java.io.Serializable

class MineItemBean : Serializable {

    var id = 0 // 唯一标识符
    var icon: Int = 0  // 图标资源 ID
    var title: String? = null // 标题


    companion object {
        fun getInstance(id: Int, icon: Int, title: String?): MineItemBean {
            val bean = MineItemBean()
            bean.id = id
            bean.icon = icon
            bean.title = title
            return bean
        }
    }


    override fun toString(): String {
        return "HomeItemBean( id=$id,icon=$icon, title=$title)"
    }
}